package com.ceo.auth.jwt;

/**
 * @Create by uto_dev_007
 * @Date 2021/11/25 17:43
 */
public class JwtEntity {


    /**
     * 用户账号
     */
    private String id;

    /**
     * 用户账号
     */
    private String userId;

    /**
     * 用户姓名
     */
    private String userName;

    /**
     * 客户端(APP\PC)
     */
    private String client;


    /**
     * 过期时间
     */
    private static long expireTime;

    /**
     * 密钥
     */
    private static String secret;

    /**
     * 盐
     */
    private static String salt;


    public  String getSecret() {
        return secret;
    }

    public  void setSecret(String secret) {
        JwtEntity.secret = secret;
    }

    public  long getExpireTime() {
        return expireTime;
    }

    public  void setExpireTime(long expireTime) {
        JwtEntity.expireTime = expireTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getClient() {
        return client;
    }

    public void setClient(String client) {
        this.client = client;
    }


    public JwtEntity(String id, String userId, String userName, String client) {
        this.id = id;
        this.userId = userId;
        this.userName = userName;
        this.client = client;
    }
}
